package com.dmbjz.webdemo.controller;


import com.dmbjz.webdemo.service.StudentService;
import jakarta.annotation.Resource;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class StudentController {


    @Resource
    private StudentService studentService;

    @GetMapping("getStudentName")
    public void getStudentName(HttpServletRequest request){
        studentService.getStudentName();
    }

}
